<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- '''

        book_url: 书名链接

        return: dict

        {
            "book_name": [],
            "book_author": [],
            "book_chapter":{

                "章节名称"："章节链接",
                ... ...
            }
            "status": "",
            "host": "",
            "book_intor": "",
        }

        ''' -->


    <h1>书名：{{result_dict.book_name.0}}</h1>
    {%if result_dict.book_author%}
    <h2>作者：{{result_dict.book_author.0}}</h2>
    {%else%}
    <h2>作者：无</h2>
    {%endif%}
    <h3>状态：{{result_dict.status}}</h3>
    <h4>简介：{{result_dict.book_intor|safe}}</h4>
    <br>
    <hr>
    <br>
    <br> {%for key, value in result_dict.book_chapter.items()%}

    <a href="{{url_for('api_chapter_info')}}?url={{value}}&host={{result_dict.host}}">
        <h4>{{key}}
            <h4>
    </a> {%endfor%}




</body>

</html>